package com.le.tester.javaThink.fifth.chapter14_StreamingProgramming;

import java.util.stream.Stream;

/**
 * 描述：map()中的组合流
 */
public class StreamOfStreams {
    public static void main(String[] args) {
        Stream.of(1, 2, 3)
                .map(o -> Stream.of("Gonzo", "Kermit", "Beaker"))
                .map(e -> e.getClass().getName())
                .forEach(System.out::println);
    }
}
